const db=require('mongoose');

db.connect('mongodb://localhost/Card',{
    useMongoClient:true
})

var Schema=db.Schema;

var card_Schema=new Schema({
    name:String,
    job:String,
    address:String,
    tel:String,
    QQ:String,
    email:String,
    content:String
})

module.exports.Card=db.model('card',card_Schema);